package com.lsc.www.day01;

import java.util.Scanner;

public class ScannerTest {

    /* git */

    /*
     * 接受用户键盘输入
     *
     * */

    static int a;

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入一个数字");
        int i = scanner.nextInt();
        System.out.println(i);
        System.out.println("请输入字符串");
        String s = scanner.next();
        System.out.println(s);


//         file   fileInput   fileOutput   jdbc
        scanner.close();


    }
}
